package com.dongbo.recorder.screenrecord.bean;

public class UserInfo {

    private String id;    // app应用id
    private String appexpId;    // app应用id
    private String facilityId;    // 设备id(更改了)
    private String openId;    // 微信id
    private String account;        // 手机账号
//    private String password;    // 密码
    private String avatar;        // 用户头像
    private String nickname;    // 昵称
    private String registrationId;        // 推送id
    private String sex;        // 用户性别
    private int status;        // 用户的开启状态 0为开启 1为关闭
    private String vipEndTime;    // 到期时间
    private int loginType;    // 登录类型1: wx 2: phone 3:游客(默认)
    private int isVip;    // 用户类型0游客,1vip会员
    private String pmentType;    // 设备类型 ios 安卓


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppexpId() {
        return appexpId;
    }

    public void setAppexpId(String appexpId) {
        this.appexpId = appexpId;
    }

    public String getFacilityId() {
        return facilityId;
    }

    public void setFacilityId(String facilityId) {
        this.facilityId = facilityId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

//    public String getPassword() {
//        return password;
//    }
//
//    public void setPassword(String password) {
//        this.password = password;
//    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(String registrationId) {
        this.registrationId = registrationId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getVipEndTime() {
        return vipEndTime;
    }

    public void setVipEndTime(String vipEndTime) {
        this.vipEndTime = vipEndTime;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public boolean isVip() {
        return isVip == 1 || isVip == 2;
    }

    public int getVip() {
        return isVip;
    }

    public void setIsVip(int isVip) {
        this.isVip = isVip;
    }

    public String getPmentType() {
        return pmentType;
    }

    public void setPmentType(String pmentType) {
        this.pmentType = pmentType;
    }
}
